package com.wisdudu.blank.ui.user;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wisdudu.blank.R;
import com.wisdudu.blank.databinding.FragmentModifyPassBinding;
import com.wisdudu.frame.base.BaseFragment;

/**
 * Created by ypp on 2016/10/8.
 */
public class ModifyPassFragment extends BaseFragment {


    @Override
    protected View initBinding(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        FragmentModifyPassBinding mBinding = DataBindingUtil.inflate(inflater, R.layout.fragment_modify_pass, container, false);
        mBinding.setViewModel(new ModifyPassVM(this));
        return mBinding.getRoot();
    }

    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        initToolbar(getToolbar(), "修改密码");
    }
}
